SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ea01c4fa8a1452b3474db4c5f71e208464450afde55e92a748685e266c9c081' 
  AND token = 'ppOrINEGU8QotguDRrhJ2JGfc1YjNHYxl2oxSe0KSNA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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