SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f290bc1f29fe06f5bf7c21f4ebd6c757c389b09a3fbb1e6d60b3a765f6b1c36' 
  AND token = 'rb+EoUW0WxW76Qzrkx1h4pwqTL9tte8uNmLdASR9fOo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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