SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4fdadbf8af5cb611247068b0cf7c164c388724042de598759e086474b68f2023' 
  AND token = 'OOlBtXb9nCbaB5mR/4MmZH5u/2ya8FLitOKJLVXsXWc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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