SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ba4aa809fbcdd405e89266902e4c61d8886a9e5d1a2cb659c61ac75133feca4' 
  AND token = 'yE3Imste0kDeKSecxWbw6BYGZXL2foSRcOKipaBFdng=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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