SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3a9ec6c5de5d783e0718ceeb8cf07143f2a3ccb7b3225a7b1856837920f2f274' 
  AND token = 'mspofEzn/2BftI30Z4Cn3vAkZsXQ16EVGvxB0j7GFYo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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