SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af5ba5232779fe90045dfe1d337ce8eec18e61e6b3e34ffef00a93e9fc2b43b1' 
  AND token = 'j25APm+dDnk8sbx0WKR8q1lzVu2S+mg7KskgPhbQE0w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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