SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '378f98f67580b6dbb703202f21bb03d7b49b94744dbe008b4ce5406e7f8f7aa6' 
  AND token = 'YR+HSjfb+b/b0Z1s4pP6FxOqAp7RdinHNgQN1dJ2EiY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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