SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f00c3ac4691e79eb4b248b9ec1ced9471b7483da1fe3bd5953293301c1050163' 
  AND token = 'a/q7Kn2k1TKrFo40hDNr2ndFtfPKvhCYq2cFXnz1yc0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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