SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '664781b3b98a8706f9ec70d1f4bca34080a4cdda550103f28e8a8035facced98' 
  AND token = 'yfWYmcp7CXLUNDfCMgcI+GJygmIBRWkCRR1JZ48zH7Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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