SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0b1d6b1a96274211a39cc86126115b4017361674fb54e63888f36e417c562b1e' 
  AND token = '3r1ghXDVff+RY08TtqSWWH9qpoVHJK7/yJiokCV3E80=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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