SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f1367af5e77cab130151c483240899ce5308be63663e8c800561f07d6de4c6cb' 
  AND token = 'ySlfPjBxDfslzWAXp9npMHBxq1dIlsirPoipR275Zdk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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