SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'de850281613f53f8ab8c30e55f032eb68fe3400ab766a174a6f02b9bccb4071d' 
  AND token = 'vQ4XFJQo7Zr88LDH0rXqt3ABtsJCw91hBBS1O9d7Td0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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