SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af8b8c250e39b2daebc8dfcdfd47f7d3a913fdddaacffac6052a4481c36ebbcf' 
  AND token = 'XXmFg3H9CgILlFwMP5pUV2Nrj0YOI2q18nYRoZ8DgSE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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