SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f151925ea44cbfcc5ee7e35793f03797eeee5c8578945cf4aa756d37990c7d10' 
  AND token = 'hN/Hs5FC3ou5qIHtn/Bc1c+aVhehK8AoqYi6f07fEO4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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