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

Query time 0.00059

JSON explain

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