SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f8ad6bb2a904736c67b3590457e19db93ef7f85d2a97ec6970954f9c0c83fd20' 
  AND token = 'hdKvdib/zoY4X649gUYZ1fNcdEALhbkjzaTFtWGrsy0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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