SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '54c844365d2c98d2a4d8f76faea386da374ff693f2f51438f789571b8c356007' 
  AND token = 'bFapA7KGTb5rBsRBn2JIi+oIdfPpkbVvT60K6BJc0Us=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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