SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '01e2715cc5427f81a69cc60d7fce48989d53087bb923e373b5c44d968b3273de' 
  AND token = 'wMUUP112XEeJ2cCof3k/leYsc+0gUrbp9S1f378oTWs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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