SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b8772969522381a1931d8e713bcad22412bbf0ef3e781a75c86bd43e18fa343b' 
  AND token = '1+oknPz/byiRPMVG1I+lx4EMvYWhG3xAEXafxXsGiuc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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