SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5bf4f2d2df89a44323027bd55504143779d964ba26dd71e6ab4074d3d30b8034' 
  AND token = 'dfZ7mQCU7lEq3AFWlbHbtwCNnw/sjP4DzaNDu1Jd2jU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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