SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17ec0b14c31a453a29fed7900869c7b5f86423a9c7479ca57edf48c498c19ccc' 
  AND token = 'cQxh2i1AlJ73KVrm2WoveTX3hIVSpBv3iOks9Zz4i7c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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