SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c2dc54accea8d67ed1eb200b56a4648596fc530036da170f25060df3a1f269c6' 
  AND token = 'nOsY5ATx+pHafOpjJtDLZGfshHF4kysagIt3/MkurTs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}