SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8598a2c8bda73fa0f53e4b3c81f6aa6cc3d167a2cbe2ccde9c36f53aceda10fc' 
  AND token = 'r59XJKyhx4WYe8Sf8df4Ey+VPyCFf5+WqCHFmvxGmHQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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