SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2ba47e3fe04c9786155fc94397cfc0f62c20b301e7cd38a5496f115b29e285ba' 
  AND token = 'lgwIJAdbcI2gmUYXIZ0S30cYeT4MJc4lxZHs3PTeQDw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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